package com.board.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加服务指南参数对象")
public class AddServiceForm {
    @ApiModelProperty("服务指南标题")
    @NotNull(message = "服务指南标题不能为空")
    private String serviceTitle;
    @ApiModelProperty("服务指南内容")
    @NotNull(message = "服务指南内容不能为空")
    private String serviceContent;
}
